-- GENERATED SPELL FOR [Watery Invader] --


function spell0_14458(pUnit, Event) --@Frost Shock,n/a--
pUnit:FullCastSpellOnTarget(19133,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_14458', 8289, 1)
end

function Sorts_14458(pUnit, Event)
local choix_sorts_14458 = math.random(0, 0)
if choix_sorts_14458 == 0 then
pUnit:RegisterEvent('spell0_14458', 1, 1)
end
end

function mob14458_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_14458', math.random(1500, 3000), 1)
end

function mob14458_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob14458_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob14458_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(14458, 1, 'mob14458_Action')
RegisterUnitEvent(14458, 2, 'mob14458_Leave')
RegisterUnitEvent(14458, 3, 'mob14458_Kill')
RegisterUnitEvent(14458, 4, 'mob14458_Die')
